package com.example.demo.service;

import com.example.demo.pojo.User;

import java.util.List;

public interface UserService {
    User getUser(Long id);
    User insertUser(User user);
    User updateUser(Long id, String userName);
    int deleteUser(Long id);
    List<User> findUser(String userName, String note);
}
